class AddArticleNewVersion < ActiveRecord::Migration
  def self.up
    create_table :articles do |t|
      t.column :article_source_id, :int, :null=> false
      t.column :section_id, :int, :null => false
#       The priority of the article in the scope of a section
      t.column :priority, :int, :null => false
    end
  end

  def self.down
    drop_table :articles
  end
end
